Get children of a seating level
GET/seating/:id/children
Get children of a seating level
Request
Path Parameters
Query Parameters
Default value: 25
The number of results per page
Default value: 1
The page of results to return
Header Parameters
OneBasket API Key
Responses
- 200
- 400
- 401
- 404
The request has succeeded.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The current page of results
The number of results per page
The total number of pages
The total number of results
True if there is a next page
True if there is a previous page
results object[]required
The results for the current page
{
"page": 0,
"pageSize": 0,
"pageTotal": 0,
"resultsTotal": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"results": [
{
"id": "string",
"parentId": "string",
"name": "string",
"tags": {},
"isRoot": true,
"kiosks": [
"string"
]
}
]
}
The server could not understand the request due to invalid syntax.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Bad request]
A short, human-readable summary of the problem type.
Possible values: [400]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
errors objectrequired
property name* object
{
"type": "string",
"title": "Bad request",
"status": 400,
"detail": "string",
"instance": "string",
"errors": {}
}
Access is unauthorized.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Unauthorized]
A short, human-readable summary of the problem type.
Possible values: [401]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
{
"type": "string",
"title": "Unauthorized",
"status": 401,
"detail": "string",
"instance": "string"
}
The server cannot find the requested resource.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Not Found]
A short, human-readable summary of the problem type.
Possible values: [404]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
{
"type": "string",
"title": "Not Found",
"status": 404,
"detail": "string",
"instance": "string"
}